package user.model;

/**
 * Topic entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Topic implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private String content;
	private Integer userId;
	private Integer replyCount;
	private String datetime;
	private String replyLastTime;
	private Integer publisher;

	// Constructors

	/** default constructor */
	public Topic() {
	}

	/** full constructor */
	public Topic(String title, String content, Integer userId,
			Integer replyCount, String datetime, String replyLastTime,
			Integer publisher) {
		this.title = title;
		this.content = content;
		this.userId = userId;
		this.replyCount = replyCount;
		this.datetime = datetime;
		this.replyLastTime = replyLastTime;
		this.publisher = publisher;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getReplyCount() {
		return this.replyCount;
	}

	public void setReplyCount(Integer replyCount) {
		this.replyCount = replyCount;
	}

	public String getDatetime() {
		return this.datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getReplyLastTime() {
		return this.replyLastTime;
	}

	public void setReplyLastTime(String replyLastTime) {
		this.replyLastTime = replyLastTime;
	}

	public Integer getPublisher() {
		return this.publisher;
	}

	public void setPublisher(Integer publisher) {
		this.publisher = publisher;
	}

}